package com.ywjt.platformbusiness.store.order.model;

import java.io.Serializable;
import java.util.List;

public class SortingCenterModel implements Serializable{


    private Boolean success;
    private String message;
    private Integer code;
    private List<ResultDTO> result;
    private Long timestamp;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO implements Serializable {
        private String id;
        private Integer origin_id;
        private Integer dest_id;
        private Integer distance;
        private Integer duration;
        private Object info;
        private Object code;
        private String name;
        private String address;
        private String contact;
        private Object phone;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Integer getOrigin_id() {
            return origin_id;
        }

        public void setOrigin_id(Integer origin_id) {
            this.origin_id = origin_id;
        }

        public Integer getDest_id() {
            return dest_id;
        }

        public void setDest_id(Integer dest_id) {
            this.dest_id = dest_id;
        }

        public Integer getDistance() {
            return distance;
        }

        public void setDistance(Integer distance) {
            this.distance = distance;
        }

        public Integer getDuration() {
            return duration;
        }

        public void setDuration(Integer duration) {
            this.duration = duration;
        }

        public Object getInfo() {
            return info;
        }

        public void setInfo(Object info) {
            this.info = info;
        }

        public Object getCode() {
            return code;
        }

        public void setCode(Object code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getContact() {
            return contact;
        }

        public void setContact(String contact) {
            this.contact = contact;
        }

        public Object getPhone() {
            return phone;
        }

        public void setPhone(Object phone) {
            this.phone = phone;
        }
    }
}
